<template>
  <div>
    <a-row :gutter="16">
      <a-col>
        <r-h-button
          v-for="(item, index) in buttons"
          v-bind="item"
          :key="'header-btn-' + index"
        />
      </a-col>
    </a-row>
  </div>
</template>

<script>
import RHButton from '@/components/RHButton'
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'RHTableHeader',
  components: { RHButton },
  props: {
    buttons: {
      type: Array,
      default: () => []
    }
  }
})
</script>

<style scoped></style>
